<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" import="java.util.*"%>
<style type="text/css">
.container-sta {
	margin: 20px auto;
	width: 900px;
	height: 470px;
	border: 1px solid gainsboro;
	background-color: white;
}

.title {
	width: 100%;
	height: 30px;
	line-height: 30px;
	background-color: #dedede;
}

.title>span {
	display: block;
	width: 110px;
	font-size: 18px;
	margin: 0px auto;
}

.query {
	width: 100%;
	height: 25px;
	padding: 10px;
}

.stat-page {
	width: 850px;
	height: 350px;
	margin: 0px auto;
}

#cxtj {
	width: 120px;
	height: 22px;
}

table.gridtable {
	font-family: verdana, arial, sans-serif;
	font-size: 13px;
	color: #333333;
	border-width: 1px;
	border-color: #666666;
	border-collapse: collapse;
}

table.gridtable th {
	border-width: 1px;
	padding: 5px;
	border-style: solid;
	border-color: #666666;
	background-color: #dedede;
}

table.gridtable td {
	border-width: 1px;
	padding: 5px;
	border-style: solid;
	border-color: #666666;
	background-color: #ffffff;
}

.stat-page>table {
	width: 830px;
}

.stat-page>table>tr {
	height: 30px;
}

.pages-emp {
	margin-top: 20px;
	margin-left: 55%;
}

.pages-emp>input {
	width: 55px;
	height: 22px;
}

.Modal-wrapper,.Modal-add {
	background-color: white;
	position: absolute;
	width: 400px;
	height: 400px;
	left: 300px;
	top: 100px;
	border: 1px solid gray;
	display: none;
}
</style>

<script src="../js/jquery-2.1.0.js" type="text/javascript"
	charset="utf-8"></script>
<div class="container-sta">
	<div class="title">
		<span>报工单管理</span>
	</div>

	<div class="query">
		<input type="text" name="cxtj" id="cxtj" placeholder="设备ID查询" /> 
		<input type="button" id="tj" value="搜索" /> 
		<input type="button" id="addbtn" value="新增" /> 
		
	</div>
	<div class="stat-page" id="tablediv">
		<table id="otTable" class="gridtable">

		</table>
	</div>
	<div class="pages-emp">
		<input type="button" id="countNo-emp"> <input type="button"
			id="countPage-emp"> <input type="button" id="pageLast-emp"
			value="上一页"> <input type="button" id="pageNext-emp"
			value="下一页"> <input type="text" id="pageNum-emp"> <input
			type="button" id="jump-emp" value="跳转">
	</div>
	
<!-- -----------------新增报工单-------------------- -->
	<div class="Modal-add" id="Modal-add">
		<form id="add-form" action="../add.do" method="post">
			<div class="update-title">
				新增报工单<input type="button" class="exits" value="返回" /> 
			</div>
			<div class="add-body">
				<input type="hidden" id="hidden-id"> 工单ID: <input
					type="text" name="woId" id="woId" value="" /><br> 设备ID: <input
					type="text" name="equId" id="equId" value="" /><br> 开始时间: <input
					type="text" name="startTime" id="startTime" value="" /><br>
				结束时间: <input type="text" name="endTime" id="endTime" value="" /><br>
				完成数量: <input type="text" name="processNum" id="processNum" value="" /><br>
				合格数量: <input type="text" name="passNum" id="passNum" value="" /><br>
				是否完成报工: <input type="text" name="state" id="state" value="" /><br>
				<input type="submit" value="提交" /> <input type="reset" value="重置" />
			</div>
		</form>
	</div>	
	

<!-- -----------------报工单修改-------------------- -->
	<div class="Modal-wrapper" id="Modal-wrapper">
		<form id="update-form" action="../update.do" method="post">
			<div class="update-title">
				报工单修改 <input type="button" class="exits" value="返回" />
			</div>
			<div class="update-body">
				<input type="hidden" id="hidden-idu"> 工单ID: <input
					type="text" name="woId" id="woIdu"  /><br> 设备ID: <input
					type="text" name="equId" id="equIdu" /><br> 开始时间: <input
					type="text" name="startTime" id="startTimeu"  /><br>
				结束时间: <input type="text" name="endTime" id="endTimeu"  /><br>
				完成数量: <input type="text" name="processNum" id="processNumu"  /><br>
				合格数量: <input type="text" name="passNum" id="passNumu"  /><br>
				是否完成报工: <input type="text" name="state" id="stateu" value="" /><br>
				<input type="submit" value="提交" /> <input type="reset" value="重置" />
			</div>
		</form>
	</div>
</div>


<script src="../js/empManage.js" type="text/javascript" charset="utf-8"></script>